package com.wujin.provider.dubbo.provider;

import com.github.pagehelper.PageInfo;
import com.wujin.provider.model.User;
import com.wujin.provider.model.UserBean;

import java.util.List;

/**
 * @author Wu Jin
 * @create 2018-04-03 下午 6:30
 */
public interface DemoService {

    String sayHello(String name);

    List<User> list();

    PageInfo<UserBean> list2(int num, int size);
}
